package cn.zero;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
//@EnableEurekaClient  适用于rureka的服务的注册
//如果用别的注册中心 ，都可以用@EnableDiscoveryClient
@EnableDiscoveryClient
public class UserAlibabaStarter {
    public static void main(String[] args) {
        SpringApplication.run(UserAlibabaStarter.class,args);
    }
}
